﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Fetion.Model
{
        //设备能力列表，可以包含一个或多个能力, 具体信息如下:<br><br>
        //None = 0,<br>
        //SimpleIm = 0x1, //一对一的无会话消息bit0<br>
        //ImSession = 0x2, // 一对一即时消息会话bit1<br>
        //TempGroup = 0x4, //基于临时群组的多人即时会话bit2<br>
        //Poc = 0x8, //是否支持PoC bit3<br>
        //PersonalGroup = 0x10, //个人群组bit4<br>
        //XenoIm = 0x20, //陌生人会话（验证陌生人能力）bit5<br>
        //DirectSms = 0x40,//直接短信 bit6<br>
        //Sms2Fetion = 0x80,//短信飞转 bit7<br>
        //ImRelay = 0x100, //集中会话模式(基于V3架构的会话能力)<br>
        //RTM = 0x200, //音视频        <br>
        //MultiClient = 0x400,//多点登录<br>
        //RobotAgent = 0x800,//预置机器人<br>
        //Sms2FetionV2 = 0x1000,//非移动短信飞转<br>
        //NotAcceptMessage = 0x2000, //不接受任何消息，包括离线消息、会话或IVR的invite<br>
        ////此处作为客户端能力列表需要再考虑，临时实现为不返回EndPoint<br>
        ////对于内部服务的调用，不公开EndPoint ，目前只针对PCMusic 不接收添加好友通知<br>
        //NotAcceptContacts = 0x4000,<br>
        //CCFromSms = 0x8000,<br>
        //OfflineFile = 0x10000, //离线文件<br>
        //SefMO = 0x20000, //通过自己的手机给自己的pc转消息<br>
        //SmsGroupMsg = 0x40000,//收发拇指群消息<br>
        //OfflineMsgPic = 0x80000,<br>
        //ALInfo = 0x100000,//通讯录的通知<br>
        //HarwordTips = 0x200000, //是否有敏感词后缀提醒能力<br>
        //AudioTrans = 0x400000, //是否有传输音频的能力<br>
        //AgeHideTips = 0x800000,//是否支持新版本的获取联系人资料<br>
        //UTClient = 0x1000000,//异网手机客户端<br>
        //ObjectHandle = 0x2000000, // 是否支持离线消息内容带object格式的特殊化处理<br>
        //Marketing=0x4000000, //是否支持运营状态<br>
        //ShareContent = 0x8000000, //是否支持ShareContent方式离线文件通知<br>
        //NickNameUser = 0x10000000, //bit28 支持使用昵称注册用户登陆的客户端能力点<br>
        //DiscussionGroup = 0x20000000,//支持讨论组的能力<br>
        //AcitvitySystemMsg = 0x40000000,//支持活动系统消息能力<br>
        //V4Default = SimpleIm | ImSession | TempGroup | PersonalGroup | XenoIm | DirectSms | Sms2Fetion | ImRelay<br>
    /// <summary>
    /// 设备能力列表
    /// </summary>
    [FlagsAttribute]
    public enum Cap
    {
        CAP_NONE = 0x0,
        CAP_SIMPLE_IM = 0x1,
        CAP_IM_SESSION = 0x2,
        CAP_TEMP_GROUP = 0x4,
        CAP_POC = 0x8,
        CAP_PERSONAL_GROUP = 0x10,
        CAP_XENO_IM = 0x20,
        CAP_DIRECT_SMS = 0x40,
        CAP_SMS_TO_FETION = 0x80,
        CAP_IM_RELAY = 0x100,
        CAP_RTM = 0x200,
        CAP_MULTI_CLIENT = 0x400,
        CAP_ROBOT_AGENT = 0x800,
        CAP_SMS_TO_FETION_V2 = 0x1000,
        CAP_NOT_ACCEPT_MESSAGE = 0x2000,
        CAP_NOT_ACCEPT_CONTACTS = 0x4000,
        CAP_CC_FROM_SMS = 0x8000,
        CAP_OFFLINE_FILE = 0x10000,
        CAP_SEF_MO = 0x20000,
        CAP_SMS_GROUP_MSG = 0x40000,
        CAP_OFFLINE_MSG_PIC = 0x80000,
        CAP_AL_INFO = 0x100000,
        CAP_HARWORD_TIPS = 0x200000,
        CAP_AUDIO_TRANS = 0x400000,
        CAP_AGE_HIDE_TIPS = 0x800000,
        CAP_UT_CLIENT = 0x1000000,
        CAP_OBJECT_HANDLE = 0x2000000,
        CAP_MARKETING = 0x4000000,
        CAP_SHARE_CONTENT = 0x8000000,
        CAP_NICK_NAME_USER = 0x10000000,
        CAP_DISCUSSION_GROUP = 0x20000000,
        CAP_ACITVITY_SYSTEM_MSG = 0x40000000,
        CAP_V4_DEFAULT = CAP_SIMPLE_IM | CAP_IM_SESSION | CAP_TEMP_GROUP | CAP_PERSONAL_GROUP | CAP_XENO_IM | CAP_DIRECT_SMS | CAP_SMS_TO_FETION | CAP_IM_RELAY
    }
    public partial class Reg2V5ReqArgs
    {
       
    }
}
